package com.kongmou.springReview.commonCfg.base;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * Hello world!
 *
 */
public class App {

	public static void main(String[] args) {
		ApplicationContext context = new AnnotationConfigApplicationContext(SpingConfig.class);
		UsingFunction fuction = context.getBean(UsingFunction.class);
		fuction.doSomeThing();
	}
}
